package com.mz.feign.config;


import com.mz.feign.interceptor.FeignReqInterceptor;
import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 *  @description:  Fegin的配置拦截器
 */
@Configuration
public class FeignReqConfig {

    @Bean
    public RequestInterceptor requestInterceptor() {
        return new FeignReqInterceptor();
    }

}
